package com.qf.entity;/*
 *徐韬
 *2021/10/15
 *11:31
 */

public class MyClass02 {
    private String Name = "zhangsan";
    private Integer age = 18;
     public void My(){
         System.out.println(age+10);

     }

    @Override
    public String toString() {
        return "MyClass02{" +
                "Name='" + Name + '\'' +
                ", age=" + age +
                '}';
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public MyClass02(String name, Integer age) {
        Name = name;
        this.age = age;
    }

    public MyClass02() {
    }
}
